package soccer.view;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.SystemColor;
import java.awt.event.ActionListener;

import javax.swing.JButton;

public class CoachAddedVerifyPanel extends JPanel {

		private JLabel labelimage;
		private JLabel labelMessage;
		private JButton buttonBacktoSystem;
		private JButton buttonAddNewCoach;
		/**
	 * Create the panel.
	 */
	public CoachAddedVerifyPanel() {
		setLayout(null);
		
		labelimage = new JLabel("");
		labelimage.setBounds(22, 61, 123, 104);
		add(labelimage);
		
		labelMessage = new JLabel("");
		labelMessage.setBackground(SystemColor.controlHighlight);
		labelMessage.setBounds(174, 129, 246, 14);
		add(labelMessage);
		
		buttonBacktoSystem = new JButton("Back to system");
		buttonBacktoSystem.setBounds(200, 252, 105, 23);
		add(buttonBacktoSystem);
		
		buttonAddNewCoach = new JButton("Add New Coach");
		buttonAddNewCoach.setBounds(313, 252, 127, 23);
		add(buttonAddNewCoach);

	}
	 public void setsystemBackButtonListener(ActionListener l) {
			buttonBacktoSystem.addActionListener(l);
		}
	public void setAgainAddNewButtonListener(ActionListener l){
			buttonAddNewCoach.addActionListener(l);
		}
		public JLabel getLabelimage() {
			return labelimage;
		}
		public void setLabelimage(JLabel labelimage) {
			this.labelimage = labelimage;
		}
		public JLabel getLabelMessage() {
			return labelMessage;
		}
		public void setLabelMessage(JLabel labelMessage) {
			this.labelMessage = labelMessage;
		}
		public JButton getButtonBacktoSystem() {
			return buttonBacktoSystem;
		}
		public void setButtonBacktoSystem(JButton buttonBacktoSystem) {
			this.buttonBacktoSystem = buttonBacktoSystem;
		}
		public JButton getButtonAddNewPlayer() {
			return buttonAddNewCoach;
		}
		public void setButtonAddNewPlayer(JButton buttonAddNewPlayer) {
			this.buttonAddNewCoach = buttonAddNewPlayer;
		}
	

}
